package com.xnf.utils;

import com.xnf.model.user.pojos.ApUser;



public class AppThreadLocalUtils {
    private final static ThreadLocal<ApUser> LOCAL = new ThreadLocal<>();

    public static void set(ApUser apUser){
        LOCAL.set(apUser);
    }

    public static ApUser get(){
        return LOCAL.get();
    }

    public static void remove(){
        LOCAL.remove();
    }
}
